package com.ljn.mapper;

import com.ljn.core.dto.Student;
import com.ljn.core.dto.Teacher;
import org.apache.ibatis.annotations.*;
import org.springframework.stereotype.Component;

@Component
public interface StudentMapper {

    int insertStudent(Student record);

    int insertUser(Student record);

    Student findUserByUsername(String userName);

    Student findStudentById( String userId);

    int updateByPrimaryKeySelective(Student student);

    int updateByPrimaryKeySelectiveUser(Student student);

}
